package cn.edu.qfnu.common.utils;

import java.time.LocalDateTime;

/**
 * OnlineJudge of QF_NU
 * Created by LS on 2017/7/18.
 */
public final class TimeUtils {

    public static LocalDateTime getLocalTime() {
        return LocalDateTime.now();
    }

    public static LocalDateTime plusDay(LocalDateTime date, Long duration) {
        return date.plusDays(duration);
    }

    public static LocalDateTime plusMinute(LocalDateTime date, Long duration) {
        return date.plusMinutes(duration);
    }
}